Optimal. Leaf size=86 \[ \frac {\sqrt {1-c^2 x^2}}{b c (a+b \text {ArcCos}(c x))}-\frac {\cos \left (\frac {a}{b}\right ) \text {CosIntegral}\left (\frac {a+b \text {ArcCos}(c x)}{b}\right )}{b^2 c}-\frac {\sin \left (\frac {a}{b}\right ) \text {Si}\left (\frac {a+b \text {ArcCos}(c x)}{b}\right )}{b^2 c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 86, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {4718, 4810,
3384, 3380, 3383} \begin {gather*} -\frac {\cos \left (\frac {a}{b}\right ) \text {CosIntegral}\left (\frac {a+b \text {ArcCos}(c x)}{b}\right )}{b^2 c}-\frac {\sin \left (\frac {a}{b}\right ) \text {Si}\left (\frac {a+b \text {ArcCos}(c x)}{b}\right )}{b^2 c}+\frac {\sqrt {1-c^2 x^2}}{b c (a+b \text {ArcCos}(c x))} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3380
Rule 3383
Rule 3384
Rule 4718
Rule 4810
Rubi steps
\begin {align*} \int \frac {1}{\left (a+b \cos ^{-1}(c x)\right )^2} \, dx &=\frac {\sqrt {1-c^2 x^2}}{b c \left (a+b \cos ^{-1}(c x)\right )}+\frac {c \int \frac {x}{\sqrt {1-c^2 x^2} \left (a+b \cos ^{-1}(c x)\right )} \, dx}{b}\\ &=\frac {\sqrt {1-c^2 x^2}}{b c \left (a+b \cos ^{-1}(c x)\right )}-\frac {\text {Subst}\left (\int \frac {\cos (x)}{a+b x} \, dx,x,\cos ^{-1}(c x)\right )}{b c}\\ &=\frac {\sqrt {1-c^2 x^2}}{b c \left (a+b \cos ^{-1}(c x)\right )}-\frac {\cos \left (\frac {a}{b}\right ) \text {Subst}\left (\int \frac {\cos \left (\frac {a}{b}+x\right )}{a+b x} \, dx,x,\cos ^{-1}(c x)\right )}{b c}-\frac {\sin \left (\frac {a}{b}\right ) \text {Subst}\left (\int \frac {\sin \left (\frac {a}{b}+x\right )}{a+b x} \, dx,x,\cos ^{-1}(c x)\right )}{b c}\\ &=\frac {\sqrt {1-c^2 x^2}}{b c \left (a+b \cos ^{-1}(c x)\right )}-\frac {\cos \left (\frac {a}{b}\right ) \text {Ci}\left (\frac {a}{b}+\cos ^{-1}(c x)\right )}{b^2 c}-\frac {\sin \left (\frac {a}{b}\right ) \text {Si}\left (\frac {a}{b}+\cos ^{-1}(c x)\right )}{b^2 c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.11, size = 72, normalized size = 0.84 \begin {gather*} \frac {\frac {b \sqrt {1-c^2 x^2}}{a+b \text {ArcCos}(c x)}-\cos \left (\frac {a}{b}\right ) \text {CosIntegral}\left (\frac {a}{b}+\text {ArcCos}(c x)\right )-\sin \left (\frac {a}{b}\right ) \text {Si}\left (\frac {a}{b}+\text {ArcCos}(c x)\right )}{b^2 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 74, normalized size = 0.86
method | result | size |
derivativedivides | \(\frac {\frac {\sqrt {-c^{2} x^{2}+1}}{\left (a +b \arccos \left (c x \right )\right ) b}-\frac {\sinIntegral \left (\arccos \left (c x \right )+\frac {a}{b}\right ) \sin \left (\frac {a}{b}\right )+\cosineIntegral \left (\arccos \left (c x \right )+\frac {a}{b}\right ) \cos \left (\frac {a}{b}\right )}{b^{2}}}{c}\) | \(74\) |
default | \(\frac {\frac {\sqrt {-c^{2} x^{2}+1}}{\left (a +b \arccos \left (c x \right )\right ) b}-\frac {\sinIntegral \left (\arccos \left (c x \right )+\frac {a}{b}\right ) \sin \left (\frac {a}{b}\right )+\cosineIntegral \left (\arccos \left (c x \right )+\frac {a}{b}\right ) \cos \left (\frac {a}{b}\right )}{b^{2}}}{c}\) | \(74\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (a + b \operatorname {acos}{\left (c x \right )}\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 193 vs.
\(2 (84) = 168\).
time = 0.42, size = 193, normalized size = 2.24 \begin {gather*} -\frac {b \arccos \left (c x\right ) \cos \left (\frac {a}{b}\right ) \operatorname {Ci}\left (\frac {a}{b} + \arccos \left (c x\right )\right )}{b^{3} c \arccos \left (c x\right ) + a b^{2} c} - \frac {b \arccos \left (c x\right ) \sin \left (\frac {a}{b}\right ) \operatorname {Si}\left (\frac {a}{b} + \arccos \left (c x\right )\right )}{b^{3} c \arccos \left (c x\right ) + a b^{2} c} - \frac {a \cos \left (\frac {a}{b}\right ) \operatorname {Ci}\left (\frac {a}{b} + \arccos \left (c x\right )\right )}{b^{3} c \arccos \left (c x\right ) + a b^{2} c} - \frac {a \sin \left (\frac {a}{b}\right ) \operatorname {Si}\left (\frac {a}{b} + \arccos \left (c x\right )\right )}{b^{3} c \arccos \left (c x\right ) + a b^{2} c} + \frac {\sqrt {-c^{2} x^{2} + 1} b}{b^{3} c \arccos \left (c x\right ) + a b^{2} c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{{\left (a+b\,\mathrm {acos}\left (c\,x\right )\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________